Uses of Class
edu.uky.ai.csp.kr.Solution
| Package | Description |
|---|---|
| edu.uky.ai.csp |
Contains classes for representing and solving simple constraint
satisfaction problems.
|
| edu.uky.ai.csp.kr |
Contains the knowledge representation for constraint satisfaction problems
that use simple binary equals and not equals constraints.
|
-
Uses of Solution in edu.uky.ai.csp
Methods in edu.uky.ai.csp that return Solution Modifier and Type Method Description static SolutionSolver. solve(Solution solution)Solves a constraint satisfaction problem via backtracking search.Methods in edu.uky.ai.csp with parameters of type Solution Modifier and Type Method Description static booleanSolver. propagate(Solution solution)Given a partial solution, this method propagates the constraints of a problem to achieve 2-consistency.static SolutionSolver. solve(Solution solution)Solves a constraint satisfaction problem via backtracking search.java.lang.StringSudoku. toString(Solution solution)Prints a string representation of the a solution (or partial solution) to a Sudoku puzzle. -
Uses of Solution in edu.uky.ai.csp.kr
Methods in edu.uky.ai.csp.kr that return Solution Modifier and Type Method Description SolutionSolution. clone()Methods in edu.uky.ai.csp.kr with parameters of type Solution Modifier and Type Method Description protected abstract booleanConstraint. testValues(Solution solution, java.lang.Object left, java.lang.Object right)A helper method for testing values which is defined for each new kind of constraint.protected booleanEqualsConstraint. testValues(Solution solution, java.lang.Object left, java.lang.Object right)protected booleanNotEqualsConstraint. testValues(Solution solution, java.lang.Object left, java.lang.Object right)java.lang.StringProblem. toString(Solution solution)Returns a problem-specific string representation of a potential solution.